package models 

import "github.com/astaxie/beego/orm"

type Chat struct{
	Id int
	Description string `orm:"type(text)" description:"评论内容"`
	Up int `orm:"default(0)"`
	Down int `orm:"default(0)"`
	RelUser *User `orm:"rel(fk)"`
	RelChat *Chat `orm:"rel(fk)"`
}


func init(){
	orm.RegisterModel(new(Chat))
}
